package com.fqgj.xjd.user.client.response;


import java.io.Serializable;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2017/2/28
 * Time: 下午4:18
 */
public class UserAccessInfo implements Serializable {

    private static final long serialVersionUID = -4020324396303417878L;
    /**
     * 客户码
     */
    private String userCode;

    private String password;

    private String token;

    private Date expireDate;
    /**
     * 用户头像
     */
    private String avatar;
    /**
     * appCode
     */
    private String appCode;
    /**
     * app包名
     */
    private String packageName;
    /**
     * 手机号
     */
    private String mobile;
    /**
     * md5手机号
     */
    private String md5Mobile;
    /**
     * 创建日期
     */
    private Date createDt;
    /**
     * 创建时间
     */
    private Date gmtCreate;
    /**
     * 关联产品类目
     */
    private String productCategory;
    /**
     * 姓名
     */
    private String name;
    /**
     * 身份证
     */
    private String identityNo;
    /**
     * MD5手机号+addhaar
     */
    private String md5MobileIdentityNo;

    public String getMd5Mobile() {
        return md5Mobile;
    }

    public UserAccessInfo setMd5Mobile(String md5Mobile) {
        this.md5Mobile = md5Mobile;
        return this;
    }

    public UserAccessInfo() {
    }

    public UserAccessInfo(String userCode, String token, String mobile, String productCategory) {
        this.userCode = userCode;
        this.token = token;
        this.mobile = mobile;
        this.productCategory = productCategory;
    }

    public UserAccessInfo(String userCode, String token, String mobile) {
        this.userCode = userCode;
        this.token = token;
        this.mobile = mobile;
    }

    public UserAccessInfo(String userCode, String token) {
        this.userCode = userCode;
        this.token = token;
    }

    public String getUserCode() {
        return userCode;
    }

    public UserAccessInfo setUserCode(String userCode) {
        this.userCode = userCode;
        return this;
    }

    public String getPassword() {
        return password;
    }

    public UserAccessInfo setPassword(String password) {
        this.password = password;
        return this;
    }

    public String getToken() {
        return token;
    }

    public UserAccessInfo setToken(String token) {
        this.token = token;
        return this;
    }

    public Date getExpireDate() {
        return expireDate;
    }

    public UserAccessInfo setExpireDate(Date expireDate) {
        this.expireDate = expireDate;
        return this;
    }

    public String getAvatar() {
        return avatar;
    }

    public UserAccessInfo setAvatar(String avatar) {
        this.avatar = avatar;
        return this;
    }

    public String getAppCode() {
        return appCode;
    }

    public UserAccessInfo setAppCode(String appCode) {
        this.appCode = appCode;
        return this;
    }

    public String getPackageName() {
        return packageName;
    }

    public UserAccessInfo setPackageName(String packageName) {
        this.packageName = packageName;
        return this;
    }

    public String getMobile() {
        return mobile;
    }

    public UserAccessInfo setMobile(String mobile) {
        this.mobile = mobile;
        return this;
    }

    public Date getCreateDt() {
        return createDt;
    }

    public UserAccessInfo setCreateDt(Date createDt) {
        this.createDt = createDt;
        return this;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public UserAccessInfo setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
        return this;
    }

    public String getProductCategory() {
        return productCategory;
    }

    public UserAccessInfo setProductCategory(String productCategory) {
        this.productCategory = productCategory;
        return this;
    }

    public String getName() {
        return name;
    }

    public UserAccessInfo setName(String name) {
        this.name = name;
        return this;
    }

    public String getIdentityNo() {
        return identityNo;
    }

    public UserAccessInfo setIdentityNo(String identityNo) {
        this.identityNo = identityNo;
        return this;
    }

    public String getMd5MobileIdentityNo() {
        return md5MobileIdentityNo;
    }

    public UserAccessInfo setMd5MobileIdentityNo(String md5MobileIdentityNo) {
        this.md5MobileIdentityNo = md5MobileIdentityNo;
        return this;
    }
}
